package com.baoteng.rbspy.mq;

import com.fasterxml.jackson.annotation.JsonValue;

public enum PackageEntity {
	
	VEHICLE("~ve","车辆"), V_MODEL("~vm","车型"),PLAN("~pl","投保方案"),QUOTED("~qu","报价"),ORDER("~od","订单"),PAYMENT("~pa","支付"),COMPANY("~cp","保险公司"),AREA("~ar","区域信息"),AUTH("~au","验证"),DEPRECIATION("~de","保额折旧");
	
	private String typeId;
	
	private String typeDesc;
	
	private PackageEntity(String typeId,String typeDesc){
		this.typeId = typeId;
		this.typeDesc = typeDesc;
	}
	
	@JsonValue
	public String getTypeId() {
		return typeId;
	}

	public String getTypeDesc() {
		return typeDesc;
	}

	public void setTypeDesc(String typeDesc) {
		this.typeDesc = typeDesc;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}
	
}
